package com.xxgc.ssm.dao;

import com.xxgc.ssm.po.ReceivingAddress;
import com.xxgc.ssm.po.ReceivingAddressExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @shi jia yi
 * @date 2021/12/14/10:57
 */
public interface ReceivingAddressMapper {
    long countByExample(ReceivingAddressExample example);

    int deleteByExample(ReceivingAddressExample example);

    int deleteByPrimaryKey(Long raId);

    int insert(ReceivingAddress record);

    int insertSelective(ReceivingAddress record);

    List<ReceivingAddress> selectByExample(ReceivingAddressExample example);

    ReceivingAddress selectByPrimaryKey(Long raId);

    int updateByExampleSelective(@Param("record") ReceivingAddress record, @Param("example") ReceivingAddressExample example);

    int updateByExample(@Param("record") ReceivingAddress record, @Param("example") ReceivingAddressExample example);

    int updateByPrimaryKeySelective(ReceivingAddress record);

    int updateByPrimaryKey(ReceivingAddress record);
}